using System;
using System.Collections.Generic;

namespace NhaThuocOnline.Entities
{
    public partial class BietDuoc
    {
        public BietDuoc()
        {
            this.HoaDonBanHangChiTiets = new List<HoaDonBanHangChiTiet>();
            this.HoaDonNhapHangChiTiets = new List<HoaDonNhapHangChiTiet>();
        }

        public int ID { get; set; }
        public string TenThuoc { get; set; }
        public string HoatChat { get; set; }
        public string DieuKienBaoQuan { get; set; }
        public Nullable<int> NhomDieuTriId { get; set; }
        public Nullable<int> DonViTinhId { get; set; }
        public Nullable<int> QuyCachDongGoiId { get; set; }
        public Nullable<int> NuocSanXuatId { get; set; }
        public Nullable<int> NhaSanXuatId { get; set; }
        public Nullable<int> LoaiSanPhamId { get; set; }
        public Nullable<System.DateTime> NgayCapNhat { get; set; }
        public Nullable<int> PhanLoaiThuocId { get; set; }
        public virtual LoaiSanPham LoaiSanPham { get; set; }
        public virtual NhaSanXuat NhaSanXuat { get; set; }
        public virtual PhanLoaiThuoc PhanLoaiThuoc { get; set; }
        public virtual QuyCachDongGoi QuyCachDongGoi { get; set; }
        public virtual NuocSanXuat NuocSanXuat { get; set; }
        public virtual NhomDieuTri NhomDieuTri { get; set; }
        public virtual DonViTinh DonViTinh { get; set; }
        public virtual ICollection<HoaDonBanHangChiTiet> HoaDonBanHangChiTiets { get; set; }
        public virtual ICollection<HoaDonNhapHangChiTiet> HoaDonNhapHangChiTiets { get; set; }
    }
}
